package com.xkstream.client.entity.kt

import com.google.gson.annotations.SerializedName

/**
 * Created by xiaoyi on 2018-1-9.
 */
class GiftStarData {

    var rankList: List<GiftStar>? = null

    class GiftStar {
        var nickname: String? = null
        @SerializedName("head_icon")
        var headIcon: String? = null
        @SerializedName("cny_amount")
        var cnyMount: String? = null

        override fun equals(other: Any?): Boolean {
            val o :GiftStar = other as GiftStar
            return nickname.equals(o.nickname)
            &&headIcon.equals(o.headIcon)

        }


        override fun toString(): String {
            return "[ "+nickname+" , " + headIcon + " , " + cnyMount + "]"
        }
    }


}